package com.yantong.service.impl;

import com.yantong.pojo.BaType;
import com.yantong.pojo.BaTypeExample;
import com.yantong.mapper.BaTypeMapper;
import com.yantong.service.BaTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 图片类型服务
 * @author kanghaixin
 * @date 2018/8/29.11:28
 */
@Service
public class BaTypeServiceImpl implements BaTypeService {
    @Autowired
    private BaTypeMapper baTypeMapper;



    @Override
    public List<BaType> listBaTypes() {
        return baTypeMapper.selectByExample(new BaTypeExample());
    }

}
